<ion-view view-title="个人中心">
  <ion-content>
    <ion-refresher on-refresh="accountInit()"
                   pulling-text="下拉刷新..."
                   refreshing-text="拼命加载中..."
                   refreshing-icon="ion-loading-b">
    </ion-refresher>
    <div class="card">
      <div class="item item-text-wrap">
        <p>辛苦了,<span class="assertive" ng-bind="user.name"></span></p>
      </div>
    </div>
    <ul class="list">
      <a class="no-decoration-scor" href="#/app/account/baseinfo">
        <li class="item" href="#/app/account/baseinfo">
            基本信息设置
        </li>
      </a>
      <a class="no-decoration-scor" href="#/app/account/password">
        <li class="item">
            密码设置
        </li>
      </a>
      <a class="no-decoration-scor" href="#/app/account/finish">
        <li class="item" href="#/app/account/finish">
          当日派送清单
        </li>
      </a>
      <!--<a class="no-decoration-scor" href="#/app/account/deliverypay">
        <li class="item">
            配送汇总
        </li>
      </a>
      <a class="no-decoration-scor" href="#/app/account/marketpay">
        <li class="item">
            营销汇总
        </li>
      </a>-->
      <ion-item menu-close ng-click="showRanking1()">
        用户收账明细
      </ion-item>
      <ion-item menu-close ng-click="showRanking2()">
        分区收账明细
      </ion-item>
      <ion-item menu-close ng-click="showRanking()">
        当月排名
      </ion-item>
    </ul>
    <label class="item">
      <button ng-click="loginOut()" class="button button-block button-assertive">注销登录</button>
    </label>
  </ion-content>
</ion-view>
